<table>
<thead>
<tr>
<th>已排課程</th><th>教師</th><th>節數</th><th>操作</th></tr>
</thead>
<tbody>
<?php foreach($this->data as $val):?>
	<td><?php echo  $val['name']?></td>
	<td><a class="sel-teacher" href="#" id="t-<?php echo  $val['teacher_sn']?>"><?php echo  $val['teacher_name']?></a></td>
	<td class="c2-num"><?php echo  $val['number']?></td>
	<td><a href="#" class="delcourse" id="d-<?php echo  $val['sn']?>">刪除</a></td>
</tr>
<?php endforeach;?>
</tbody>
</table>